package tests;

import static org.junit.Assert.*;
import io.DataSet;

import org.junit.Before;
import org.junit.Test;

public class DataSetTests {
	
	DataSet forestFiresDataSet;
	
	@Before
	public void setUp() throws Exception {
		forestFiresDataSet = new DataSet("data/forestfires.csv");
	}
	
	@Test
	public void test1() {
		assertEquals(forestFiresDataSet.getValue(0, 2), "mar");
	}
	
	@Test
	public void test2() {
		assertEquals(forestFiresDataSet.getValue(8, 0), "8");
	}
	
	@Test
	public void test3() {
		assertEquals(forestFiresDataSet.getValue(516, 4), "79.5");
	}

}
